package com.qys.livesMall.financial.model.vo.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class FinancialOfflineUserDetailVO {

    @Schema(description = "用户id")
    @TableField(value = "user_id")
    private Long userId;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "理财Id")
    @TableField(value = "financial_id")
    private Long financialId;

    @Schema(description = "理财名称")
    private String name;

    @Schema(description = "视频标题")
    private String title;

    @Schema(description = "观看状态 0未完成 1完成")
    private String state;

    @Schema(description = "任务状态 0未完成 1完成")
    private String taskState;

    @Schema(description = "周期")
    private Integer cycle;

    @Schema(description = "投资时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    private LocalDateTime createTime;

    @Schema(description = "获得的奖励")
    private BigDecimal reward;
}
